<head><meta charset="UTF-8"></head>
<body>
<div> <i class="kk1">图1</i><i class="kk2">图2</i> </div>
</body>
<style>
    .kk1{
        content: '我是内容1';
        display: inline-block;
        width: 180px;
        height: 180px;
        background: url("./meinv.jpg") no-repeat center;
        background-size: cover;
        vertical-align: middle;
        cursor: pointer;
    }
    .kk2:before{
        content: '我是内容2';
        display: inline-block;
        width: 280px;
        height: 280px;
        background: url("./meinv.jpg") no-repeat center;
        background-size: cover;
        vertical-align: middle;
        cursor: pointer;
    }
</style>